class User {
	String? id;
	String? account;
	String? avater;
	String? phone;
	String? name;
	String? nickName;

	User({
		this.id, 
		this.account, 
		this.avater, 
		this.phone, 
		this.name, 
		this.nickName, 
	});

	factory User.fromJson(Map<String, dynamic> json) => User(
				id: json['id'] as String?,
				account: json['account'] as String?,
				avater: json['avater'] as String?,
				phone: json['phone'] as String?,
				name: json['name'] as String?,
				nickName: json['nickName'] as String?,
			);

	Map<String, dynamic> toJson() => {
				'id': id,
				'account': account,
				'avater': avater,
				'phone': phone,
				'name': name,
				'nickName': nickName,
			};
}
